package _24_beiwanglu_pattern.v3_0;

/**
 * @Description: 备忘录角色
 * @Auther: 2019/6/9 0:16 by zhang.jy
 */
public class Memento {
     //发起人的内部状态
     private String state = "";
     //构造函数传递参数
     public Memento(String _state){
             this.state = _state;
     }
     public String getState() {
             return state;
     }
     public void setState(String state) {
             this.state = state;
     }
}